From f33d720cb67c3b7c35f57475bc7370af3b223b77 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 8 Jan 2025 22:31:54 +0900 Subject: fix waybar-wallust colors not applying battery not charging waybar animation changes to reduce cpu usage as per wiki --- config/waybar/style/[Extra] Rose Pine.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config/waybar/style/[Extra] Rose Pine.css') diff --git a/config/waybar/style/[Extra] Rose Pine.css b/config/waybar/style/[Extra] Rose Pine.css index 77c4f583..bfc58ec1 100644 --- a/config/waybar/style/[Extra] Rose Pine.css +++ b/config/waybar/style/[Extra] Rose Pine.css @@ -177,6 +177,23 @@ tooltip { color: #39FF14; } +@keyframes blink { + to { + color: @main-bg; + } +} + +#battery.critical:not(.charging) { + background-color: red; + color: white; + animation-name: blink; + animation-duration: 3.0s; + animation-timing-function: steps(12); + animation-iteration-count: infinite; + animation-direction: alternate; + box-shadow: inset 0 -3px transparent; +} + #backlight { padding-right: 2px; } -- cgit v1.2.3